import { defineStore, acceptHMRUpdate } from "pinia";

export const useUserStore = defineStore("user", {
  state: () => ({
    uid: "F000000000",
    uname: "fakeName",
    email: "fakeAddress@fmail.com",
    qq: "F000000000",
    token: "",
  }),
  actions: {},
  getters: {},
});

if (import.meta.hot) {
  import.meta.hot.accept(acceptHMRUpdate(useUserStore, import.meta.hot));
}
